package com.lkd.mapper;

import com.lkd.entity.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BusinessMapper {

    @Select("select * from lkdremake.tb_business where id=#{businessId}")
    Business getById(Integer businessId);
    //查询所有商圈
    @Select("select * from lkdremake.tb_business")
    List<Business> list();
}
